package com.etone.eos.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "创建合约所需参数")
@Data
public class CreateParamDTO {

    /***
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称")
    private String fileName;

    /***
     * 合约定义的md5值
     */
    @ApiModelProperty(value = "文件md5值,选填")
    private String md5;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id,必填")
    private String userId;

    /***
     * 配置好的appId
     */
    @ApiModelProperty(value = "appId,必填")
    private String appId;

    /***
     * 文件的sha256hash值
     */
    @ApiModelProperty(value = "文件的sha256hash值")
    private String mac;
}
